package com.iamnh.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.iamnh.handler.TestTableHandler;

@Controller
public class HomeController {
	
	@Autowired
	private TestTableHandler  testTableHandler ;
	
	@RequestMapping(value = "/*", method = { RequestMethod.GET })
	public String testMvc() {
		
		testTableHandler.updateTest(11L);
		return "index";
	}
	
}
